package com.itmayiedu.api.service;

import com.itmayiedu.base.ResponseBase;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * @Author cht 【wonderfor@vip.qq.com】
 * @Date 2018/11/6
 */
@RequestMapping("/callBackService")
public interface CallBackService {

    //同步通知
    @RequestMapping("/synCallBack")
    public ResponseBase synCallBack(@RequestParam("params") Map<String, String> params);

    //异步通知
    @RequestMapping("/asyncCallBack")
    public String asyncCallBack(@RequestParam("params") Map<String, String> params);

}
